//
//  UIApplicationViewController.m
//  iOSCodeLearning
//
//  Created by TFAppleWork-Summer on 2018/3/29.
//  Copyright © 2018年 Ace. All rights reserved.
//

#import "UIApplicationViewController.h"

@interface UIApplicationViewController ()

@end

@implementation UIApplicationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}
- (IBAction)clickBgValue:(id)sender {

    // 设置提醒图标
    UIApplication *app = [UIApplication sharedApplication];
    // 注册用户通知
    UIUserNotificationSettings *noti = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeBadge categories:nil];
    [app registerUserNotificationSettings:noti];
    
    app.applicationIconBadgeNumber = 10;
}

- (IBAction)clickSetNet:(id)sender {
}
- (IBAction)openwebview:(id)sender {
}


- (IBAction)clickSetStatusBar:(id)sender {
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
